/**
 * 
 */

/**
 * @author TYM
 *
 */
public class Position {
    private int x;
    private int y;
    
    Position(int init_x, int init_y) {x = init_x; y = init_y;}
    public int getX() {return x;}
    public int getY() {return y;}
    
    public String toString() {
        return "("+x+","+y+")";
    }
    public boolean equals(Position p) {
        if ((p.getX() == x) && (p.getY() == y)) {
            return true;
        }
        else {
            return false;
        }
    }
}
